const multer = require('@koa/multer')
const { UPLOAD_PATH } = require('../config/path')
const upLoadAvatar = multer({
    dest: UPLOAD_PATH
})
const hanleAvatar = upLoadAvatar.single('avatar')

module.exports = { hanleAvatar }